package com.yonxao.demo.crud.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.yonxao.demo.crud.core.IEntityEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 年龄枚举类
 *
 * @author xiaosaguo
 * @date 2021/03/15
 */
@AllArgsConstructor
@Getter
public enum GradeEnum implements IEntityEnum {

    ONE((byte) 1, "一年级"),
    TWO((byte) 2, "二年级"),
    THREE((byte) 3, "三年级"),
    FOUR((byte) 4, "四年级"),
    FIVE((byte) 5, "五年级"),
    SIX((byte) 6, "六年级"),
    ;

    @EnumValue
    private final java.lang.Byte code;
    private final String description;
}
